<template>
	<view>
	</view>
</template>
<script>
	import {
		screenshot
	} from './screenshot.js'
	export default {
		methods: {
			init: function() {
				screenshot().then(success => {
					this.$emit('screenImg', success)
				}, fail => {
					uni.showToast({
						title: '截屏失败',
						icon: 'none'
					})
				})
			}
		}
	}
</script>

<style>
</style>
